package com.laxcen.smoke.dto.res;

import io.swagger.annotations.ApiModelProperty;

public class ResourceListRes {

    @ApiModelProperty(value = "id", required = true,example = "1")
    private Long id;
    @ApiModelProperty(value = "资源名", required = true,example = "用户管理")
    private String name;
    @ApiModelProperty(value = "资源类型", required = true,example = "菜单")
    private String type;
    @ApiModelProperty(value = "资源地址", required = true,example = "/users")
    private String url;
    @ApiModelProperty(value = "资源权限", required = true,example = "users")
    private String permission;
    @ApiModelProperty(value = "父级资源", required = true,example = "用户管理")
    private Long parentid;
    @ApiModelProperty(value = "排序", required = true,example = "1")
    private Integer sort;
    @ApiModelProperty(value = "外部资源", required = true,example = "false")
    private Integer external;
    @ApiModelProperty(value = "可用", required = true,example = "true")
    private Integer available;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public Long getParentid() {
        return parentid;
    }

    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getExternal() {
        return external;
    }

    public void setExternal(Integer external) {
        this.external = external;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }
}
